Revert an accidental commit
authorMatthias Clasen <matthiasc@src.gnome.org>
Sat, 28 Feb 2009 05:28:47 +0000 (05:28 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Sat, 28 Feb 2009 05:28:47 +0000 (05:28 +0000)
svn path=/trunk/; revision=22421

gdk/gdkwindow.c

index d7e0e685e1431d7d87a960242087925b35695386..66b83ae85daf15729d5e22729a2f626f9f646d26 100644 (file)
@@ -2116,16 +2116,16 @@ gdk_window_clear_backing_rect_redirect (GdkWindow *window,
   if (GDK_WINDOW_DESTROYED (window))
     return;
 
-  clip_region = _gdk_window_calculate_full_clip_region (window,
-                                                       GDK_WINDOW (redirect->redirected),
-                                                       NULL, TRUE,
-                                                       &x_offset, &y_offset);
-  
   paint.x_offset = x_offset;
   paint.y_offset = y_offset;
   paint.pixmap = redirect->pixmap;
   paint.surface = _gdk_drawable_ref_cairo_surface (redirect->pixmap);
   
+  clip_region = _gdk_window_calculate_full_clip_region (window,
+                                                       GDK_WINDOW (redirect->redirected),
+                                                       NULL, TRUE,
+                                                       &x_offset, &y_offset);
+  
   method.cr = NULL;
   method.gc = NULL;
   setup_backing_rect_method (&method, window, &paint, 0, 0);